package demo.annotation;

import javax.annotation.processing.AbstractProcessor;
import javax.annotation.processing.RoundEnvironment;
import javax.lang.model.element.TypeElement;
import java.util.Set;

/**
 * description: <br>
 * createTime: 2019/7/199:49 <br>
 *
 * @author zzh
 */
//@SupportedAnnotationTypes(value = {"demo.annotation.annotations.SourceAnnotation"})
//@SupportedSourceVersion(value = SourceVersion.RELEASE_8)
public class MyProcessor extends AbstractProcessor {

    @Override
    public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) {
        System.out.println("--------------------run");
        return false;
    }
}
